package cn.itcast.p2p20.bean;

import java.util.List;

/**
 * Created by Administrator on 2016/7/24.
 */
public class HomeData {


    /**
     * topRollImages : ["http://192.168.209.1:8080/p2p/HomePageImages/TopRollImages/Cii9EFbgxiGIHNWMAADO4aC7CEkAACjSQKYx28AAM7567.jpeg","http://192.168.209.1:8080/p2p/HomePageImages/TopRollImages/Cii9EVbNYn-IKBlmAADLSUJJXy4AACRawAzmhoAAMth47.jpeg","http://192.168.209.1:8080/p2p/HomePageImages/TopRollImages/Cii9EVbQDDaIHV3iAAC-kG1z9TgAACUBQHVDMwAAL6o30.jpeg","http://192.168.209.1:8080/p2p/HomePageImages/TopRollImages/Cii9EVbx_NmIc3_YAADIuMPJC8UAACu9wKRjaUAAMjQ79.jpeg","http://192.168.209.1:8080/p2p/HomePageImages/TopRollImages/Cii9EVbyDN6IRey3AAIxdEfHsToAACvFwI59mAAAjGM55.jpeg","http://192.168.209.1:8080/p2p/HomePageImages/TopRollImages/nbx.jpg"]
     * advertisement : http://192.168.209.1:8080/p2p/HomePageImages/Advertisement/onePic.jpg
     * financialRecommend : {"title":"理财推荐","financialProducts":[{"name":"月月赢","annualYield":5,"days":30,"price":100,"raiseProgress":0},{"name":"季季赢","annualYield":5.5,"days":90,"price":100,"raiseProgress":0}]}
     * investmentCash : {"title":"投资变现","financialProducts":[{"name":"牛变现245000966","annualYield":5.67,"days":355,"price":0,"raiseProgress":73.33},{"name":"牛变现245000900","annualYield":5.62,"days":173,"price":0,"raiseProgress":85.51}]}
     * fundSupermarket : {"title":"基金超市","images":["http://192.168.209.1:8080/p2p/HomePageImages/FundSupermarket/Cii9EFaqyiOITqpBAADIToqVm_EAABrLAMj82gAAMhm35.jpeg","http://192.168.209.1:8080/p2p/HomePageImages/FundSupermarket/Cii9EFaqylCIL9nCAADLKo8U-DoAABrLAOZ9wcAAMtC34.jpeg"],"funds":[{"name":"汇添富双利债券C","netWorth":1.331,"rise":5.97,"isBond":true},{"name":"汇添富民营活力混合","netWorth":2.776,"rise":-2.97,"isBond":false}]}
     * consumptionCredit : {"title":"消费信贷","images":["http://192.168.209.1:8080/p2p/HomePageImages/ConsumptionCredit/Cii9EFaqy0yIPxAMAADHjRgVNL0AABrLgIhvCUAAMel39.jpeg","http://192.168.209.1:8080/p2p/HomePageImages/ConsumptionCredit/Cii9EFaqyzCIRRdSAADFkJgZly4AABrLgHoRroAAMWo68.jpeg","http://192.168.209.1:8080/p2p/HomePageImages/ConsumptionCredit/Cii9EVaqyvmIRiM-AADChowBLeIAABrLQPcB-8AAMKe02.jpeg"]}
     * insurance : {"title":"保险频道","images":["http://192.168.209.1:8080/p2p/HomePageImages/Insurance/Cii9EFaqycGIGR9UAADK1whAzKAAABrLAINmhEAAMrv63.jpeg","http://192.168.209.1:8080/p2p/HomePageImages/Insurance/Cii9EVaqyduIIOsxAACpI8xplakAABrLAKJiGUAAKk758.jpeg","http://192.168.209.1:8080/p2p/HomePageImages/Insurance/Cii9EVaqygGIKU6cAADGp0DIp68AABrLALQW0EAAMa_14.jpeg"]}
     * otherService : {"title":"其他服务","images":["http://192.168.209.1:8080/p2p/HomePageImages/OtherService/Cii9EFaqyruIAnzgAADICQz1gTAAABrLQKP9YwAAMgh58.jpeg","http://192.168.209.1:8080/p2p/HomePageImages/OtherService/Cii9EFaqyt2IAoTMAADJYbrPGnUAABrLQK15gIAAMl543.jpeg","http://192.168.209.1:8080/p2p/HomePageImages/OtherService/Cii9EVaqy2eIXtlTAADFjegijhAAABrLgLhCJAAAMWl26.jpeg"]}
     */

    private String advertisement;
    /**
     * title : 理财推荐
     * financialProducts : [{"name":"月月赢","annualYield":5,"days":30,"price":100,"raiseProgress":0},{"name":"季季赢","annualYield":5.5,"days":90,"price":100,"raiseProgress":0}]
     */

    private FinancialRecommendBean financialRecommend;
    /**
     * title : 投资变现
     * financialProducts : [{"name":"牛变现245000966","annualYield":5.67,"days":355,"price":0,"raiseProgress":73.33},{"name":"牛变现245000900","annualYield":5.62,"days":173,"price":0,"raiseProgress":85.51}]
     */

    private InvestmentCashBean investmentCash;
    /**
     * title : 基金超市
     * images : ["http://192.168.209.1:8080/p2p/HomePageImages/FundSupermarket/Cii9EFaqyiOITqpBAADIToqVm_EAABrLAMj82gAAMhm35.jpeg","http://192.168.209.1:8080/p2p/HomePageImages/FundSupermarket/Cii9EFaqylCIL9nCAADLKo8U-DoAABrLAOZ9wcAAMtC34.jpeg"]
     * funds : [{"name":"汇添富双利债券C","netWorth":1.331,"rise":5.97,"isBond":true},{"name":"汇添富民营活力混合","netWorth":2.776,"rise":-2.97,"isBond":false}]
     */

    private FundSupermarketBean fundSupermarket;
    /**
     * title : 消费信贷
     * images : ["http://192.168.209.1:8080/p2p/HomePageImages/ConsumptionCredit/Cii9EFaqy0yIPxAMAADHjRgVNL0AABrLgIhvCUAAMel39.jpeg","http://192.168.209.1:8080/p2p/HomePageImages/ConsumptionCredit/Cii9EFaqyzCIRRdSAADFkJgZly4AABrLgHoRroAAMWo68.jpeg","http://192.168.209.1:8080/p2p/HomePageImages/ConsumptionCredit/Cii9EVaqyvmIRiM-AADChowBLeIAABrLQPcB-8AAMKe02.jpeg"]
     */

    private ConsumptionCreditBean consumptionCredit;
    /**
     * title : 保险频道
     * images : ["http://192.168.209.1:8080/p2p/HomePageImages/Insurance/Cii9EFaqycGIGR9UAADK1whAzKAAABrLAINmhEAAMrv63.jpeg","http://192.168.209.1:8080/p2p/HomePageImages/Insurance/Cii9EVaqyduIIOsxAACpI8xplakAABrLAKJiGUAAKk758.jpeg","http://192.168.209.1:8080/p2p/HomePageImages/Insurance/Cii9EVaqygGIKU6cAADGp0DIp68AABrLALQW0EAAMa_14.jpeg"]
     */

    private InsuranceBean insurance;
    /**
     * title : 其他服务
     * images : ["http://192.168.209.1:8080/p2p/HomePageImages/OtherService/Cii9EFaqyruIAnzgAADICQz1gTAAABrLQKP9YwAAMgh58.jpeg","http://192.168.209.1:8080/p2p/HomePageImages/OtherService/Cii9EFaqyt2IAoTMAADJYbrPGnUAABrLQK15gIAAMl543.jpeg","http://192.168.209.1:8080/p2p/HomePageImages/OtherService/Cii9EVaqy2eIXtlTAADFjegijhAAABrLgLhCJAAAMWl26.jpeg"]
     */

    private OtherServiceBean otherService;
    private List<String> topRollImages;

    public String getAdvertisement() {
        return advertisement;
    }

    public void setAdvertisement(String advertisement) {
        this.advertisement = advertisement;
    }

    public FinancialRecommendBean getFinancialRecommend() {
        return financialRecommend;
    }

    public void setFinancialRecommend(FinancialRecommendBean financialRecommend) {
        this.financialRecommend = financialRecommend;
    }

    public InvestmentCashBean getInvestmentCash() {
        return investmentCash;
    }

    public void setInvestmentCash(InvestmentCashBean investmentCash) {
        this.investmentCash = investmentCash;
    }

    public FundSupermarketBean getFundSupermarket() {
        return fundSupermarket;
    }

    public void setFundSupermarket(FundSupermarketBean fundSupermarket) {
        this.fundSupermarket = fundSupermarket;
    }

    public ConsumptionCreditBean getConsumptionCredit() {
        return consumptionCredit;
    }

    public void setConsumptionCredit(ConsumptionCreditBean consumptionCredit) {
        this.consumptionCredit = consumptionCredit;
    }

    public InsuranceBean getInsurance() {
        return insurance;
    }

    public void setInsurance(InsuranceBean insurance) {
        this.insurance = insurance;
    }

    public OtherServiceBean getOtherService() {
        return otherService;
    }

    public void setOtherService(OtherServiceBean otherService) {
        this.otherService = otherService;
    }

    public List<String> getTopRollImages() {
        return topRollImages;
    }

    public void setTopRollImages(List<String> topRollImages) {
        this.topRollImages = topRollImages;
    }

    public static class FinancialRecommendBean {
        private String title;
        /**
         * name : 月月赢
         * annualYield : 5.0
         * days : 30
         * price : 100.0
         * raiseProgress : 0.0
         */

        private List<FinancialProductsBean> financialProducts;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<FinancialProductsBean> getFinancialProducts() {
            return financialProducts;
        }

        public void setFinancialProducts(List<FinancialProductsBean> financialProducts) {
            this.financialProducts = financialProducts;
        }

        public static class FinancialProductsBean {
            private String name;
            private double annualYield;
            private int days;
            private double price;
            private double raiseProgress;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public double getAnnualYield() {
                return annualYield;
            }

            public void setAnnualYield(double annualYield) {
                this.annualYield = annualYield;
            }

            public int getDays() {
                return days;
            }

            public void setDays(int days) {
                this.days = days;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public double getRaiseProgress() {
                return raiseProgress;
            }

            public void setRaiseProgress(double raiseProgress) {
                this.raiseProgress = raiseProgress;
            }
        }
    }

    public static class InvestmentCashBean {
        private String title;
        /**
         * name : 牛变现245000966
         * annualYield : 5.67
         * days : 355
         * price : 0.0
         * raiseProgress : 73.33
         */

        private List<FinancialProductsBean> financialProducts;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<FinancialProductsBean> getFinancialProducts() {
            return financialProducts;
        }

        public void setFinancialProducts(List<FinancialProductsBean> financialProducts) {
            this.financialProducts = financialProducts;
        }

        public static class FinancialProductsBean {
            private String name;
            private double annualYield;
            private int days;
            private double price;
            private double raiseProgress;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public double getAnnualYield() {
                return annualYield;
            }

            public void setAnnualYield(double annualYield) {
                this.annualYield = annualYield;
            }

            public int getDays() {
                return days;
            }

            public void setDays(int days) {
                this.days = days;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public double getRaiseProgress() {
                return raiseProgress;
            }

            public void setRaiseProgress(double raiseProgress) {
                this.raiseProgress = raiseProgress;
            }
        }
    }

    public static class FundSupermarketBean {
        private String title;
        private List<String> images;
        /**
         * name : 汇添富双利债券C
         * netWorth : 1.331
         * rise : 5.97
         * isBond : true
         */

        private List<FundsBean> funds;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<String> getImages() {
            return images;
        }

        public void setImages(List<String> images) {
            this.images = images;
        }

        public List<FundsBean> getFunds() {
            return funds;
        }

        public void setFunds(List<FundsBean> funds) {
            this.funds = funds;
        }

        public static class FundsBean {
            private String name;
            private double netWorth;
            private double rise;
            private boolean isBond;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public double getNetWorth() {
                return netWorth;
            }

            public void setNetWorth(double netWorth) {
                this.netWorth = netWorth;
            }

            public double getRise() {
                return rise;
            }

            public void setRise(double rise) {
                this.rise = rise;
            }

            public boolean isIsBond() {
                return isBond;
            }

            public void setIsBond(boolean isBond) {
                this.isBond = isBond;
            }
        }
    }

    public static class ConsumptionCreditBean {
        private String title;
        private List<String> images;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<String> getImages() {
            return images;
        }

        public void setImages(List<String> images) {
            this.images = images;
        }
    }

    public static class InsuranceBean {
        private String title;
        private List<String> images;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<String> getImages() {
            return images;
        }

        public void setImages(List<String> images) {
            this.images = images;
        }
    }

    public static class OtherServiceBean {
        private String title;
        private List<String> images;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<String> getImages() {
            return images;
        }

        public void setImages(List<String> images) {
            this.images = images;
        }
    }
}
